package com.cheng.data.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
* @author: ChengJW
* @date: 2021/8/20
* @version: 1.0
* @description: A class is associated with table 'role_perm'
*/
@TableName("role_perm")
public class RolePermEntity extends BaseEntity{

  private static final long serialVersionUID = -3184369531485576068L;

  /** 主键*/
  @TableId(value = "rp_Id",type = IdType.INPUT)
  private String rpId;

  /** 角色id*/
  @TableField("ro_Id")
  private String roId;

  /** 权限id*/
  @TableField("pr_Id")
  private String prId;


  public String getRpId() {
    return rpId;
  }

  public void setRpId(String rpId) {
    this.rpId = rpId;
  }


  public String getRoId() {
    return roId;
  }

  public void setRoId(String roId) {
    this.roId = roId;
  }


  public String getPrId() {
    return prId;
  }

  public void setPrId(String prId) {
    this.prId = prId;
  }

}
